package com.gbits.app.finance.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.gbits.websns.kernelsdk.facade.support.entity.impl.BaseEntity;

/**
 * 科目列表
 * @author wangqt
 *
 */
@Entity
@Table(name="tpl_finance_subjects")
public class Subject extends BaseEntity {

	/**
	 * 科目名称
	 */
	@Column(name="NAME")
	private String name;
	/**
	 * 科目代码
	 */
	@Column(name="CODE")
	private String code;
	/**
	 * 机构代码
	 */
	@Column(name="ORG_CODE")
	private String orgCode;
	/**
	 * 排序
	 */
	@Column(name="SORT_SEQ")
	private Long sequence = 0L;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getOrgCode() {
		return orgCode;
	}
	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	public Long getSequence() {
		return sequence;
	}
	public void setSequence(Long sequence) {
		this.sequence = sequence;
	}
}
